﻿@{ 
    var action = ViewContext.RouteData.GetRequiredString("action").ToLower();
    <ul class="tab-nav">
        <li class="@if (action == "fromcomputer") { Write("current"); } ">
            @Html.ActionLink("From Computer".Localize(), "FromComputer", "Image")
        </li>
        <li class="@if (action == "fromurl") { Write("current"); } ">
            @Html.ActionLink("From URL".Localize(), "FromUrl", "Image")
        </li>
        <li class="@if (action == "gallery") { Write("current"); } ">
            @Html.ActionLink("Gallery", "Gallery", "Image")
        </li>
    </ul>
}